import Mock from 'mockjs';

Mock.mock('http://localhost:8088/login',{
  data: {
    'token': '4344323121389'
  }
});Mock.mock('http://localhost:8088/user',{
  'name': '@name',//随机生成姓名
  'email': '@email',//随机生成姓名
  'age|1-10': 5
});
 Mock.mock('http://localhost:8088/menu',{
   'id': '@increment',
   'name': 'menu',
   'order|10-20': 12
})
